/**
 * @description 存储配置
 */
const { isProd } = require('../utils/env')

// MySQL 连接配置 - 开发环境
let MYSQL_CONF = {
  database: 'fitness_db_dev',
  port: 3306,
  host: '139.9.177.51',
  user: 'root',
  password: 'adminitsource.cn',
}

// 生产环境配置
if (isProd) {
  MYSQL_CONF = {
    database: 'fitness_db_dev',
    port: 3306,
    host: '139.9.177.51',
    user: 'root',
    password: 'adminitsource.cn',
  }
}

module.exports = {
  MYSQL_CONF,
}
